(C) 1996 AROS - The Amiga Replacement OS
This is the same as open (pathname, O_CREAT|O_WRONLY|O_TRUNC, mode);